package com.xsmart.oa.dao.mall.mymenu;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public interface UserLoginDao {

    @Select("select * from INFS_USER where user_name=#{userName} and password=#{password}")
    Map<String,Object> login(@Param("userName") String userName, @Param("password") String password);

}
